package com.siashan.unipay4j.core.splitbill;

import com.siashan.unipay4j.core.IBaseEnum;

/**
 * 分账请求类型
 *
 * @author siashan
 * @since v1.0.1
 **/
public enum ProfitType implements IBaseEnum<String> {
    /**
     * 单次分账
     */
    SINGLE("SINGLE", "单次分账"),
    /**
     * 多次分账
     */
    MULTI("MULTI", "多次分账"),
    ;
    private String value;
    private String desp;

    ProfitType(String value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
